﻿@model mvcfluentcontrols.Models.TestData
@using mvcfluentcontrols.Extensions
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Index</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>TestData</legend>
        <p>
            @Html.SmartBoxFor(model => model.City.Value).LookupType("City").ServiceUrl(Url.Action("FillData", "LookupData")).MinLength(2).LangID(1)
        </p>
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
